/*
 * GraphicsUpdate.h
 * updates graphical elements in the graphics time step
 * note - this class does not manage creation and/or cleaning of GraphicComponents
 *  Created on: 17 Oct 2012
 *      Author: pigmal
 */

#ifndef GRAPHICSUPDATE_H_
#define GRAPHICSUPDATE_H_

#include <MAUtil/Environment.h>
#include "GraphicsComponent.h"
#include <MAUtil/Map.h>

using namespace MAUtil;

class GraphicsUpdate:public TimerListener
{
public:
	GraphicsUpdate();
	~GraphicsUpdate();

	bool AddComponent(GraphicsComponent *component);
	void RemoveComponent(GraphicsComponent *component);

	void runTimerEvent(){;} // TO IMPLEMENT!!

private:
	MAUtil::Map<int, GraphicsComponent*> ObjectsList;

};
#endif /* GRAPHICSUPDATE_H_ */
